package com.blog.service;

import com.blog.entity.BlogArticle;
import com.blog.vo.TimeLineVo;

import java.util.List;

/**
 * @Author Huangzp
 * @Date 2021/12/15 14:46
 */
public interface ArticleService {
    List<BlogArticle> getArticleList(String keywords, Integer currentPage, Integer pageSize);

    void updateArticle(BlogArticle article);

    void deleteArticle(List<Integer> asList);

    List<BlogArticle> getArticleByPage(BlogArticle article);

    BlogArticle searchById(int id);

    BlogArticle searchByArticleIdAndManagerId(int articleId, int managerId);

    List<String> searchTag();

    List<TimeLineVo> searchTimeLine();
}
